﻿@{
    ViewBag.Title = "About";
}
<h2>@ViewBag.Title.</h2>

<h3>@ViewBag.Message</h3>

<p>Use this area to provide additional information.</p>

<table class="table">
    <thead>
        <tr>
            <th class="col-lg-2">Key</th>
            <th class="col-lg-10">Value</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Is authenticated</td>
            <td>@User.Identity.IsAuthenticated</td>
        </tr>
        @if (User.Identity.IsAuthenticated)
        {
            <tr>
                <td>Authentication Type</td><td>@User.Identity.AuthenticationType</td></tr>
            <tr>
                <td>Name</td><td>@User.Identity.Name</td></tr>
            
        }
    </tbody>
</table>